package cn.diancan.util;

public class IdCardVerify {
    	
    	private Integer countryAndAreaCode;  //1 中国大陆  2 中国香港  
	private Integer sex;  //0 女  1 男  -1 未知
	private boolean isLegitimate; //true 合法  false 不合法
	public Integer getCountryAndAreaCode() {
	    return countryAndAreaCode;
	}
	public void setCountryAndAreaCode(Integer countryAndAreaCode) {
	    this.countryAndAreaCode = countryAndAreaCode;
	}
	public Integer getSex() {
	    return sex;
	}
	public void setSex(Integer sex) {
	    this.sex = sex;
	}
	public boolean isLegitimate() {
	    return isLegitimate;
	}
	public void setLegitimate(boolean isLegitimate) {
	    this.isLegitimate = isLegitimate;
	} 
	
	public final static int ARAR_ZH_CODE=1;
	public final static int ARAR_HK_CODE=2;//香港
	public final static int ARAR_OM_CODE=3;//澳门
	public final static int ARAR_TW_CODE=4;//台湾
	
	
	public final static int WOMAN=0;
	public final static int MAN=1;
	public final static int UNKNOW=-1;
	@Override
	public String toString() {
	    return "IdCardVerify [countryAndAreaCode=" + countryAndAreaCode
		    + ", sex=" + sex + ", isLegitimate=" + isLegitimate + "]";
	}
	
	
}
